import instance from '@/utils/request.js'

// 获取用户信息
function getUserInfo(){
    return instance({
        url: '/info',
    })
}


// 退出登录
function logout(){
    return instance({
        url: '/logout',
    })
}

export { getUserInfo, logout }